package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.ReplyDTO;
import com.tianji.learning.domain.page.ReplyPageQuery;
import com.tianji.learning.domain.po.InteractionReply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.vo.ReplyVO;

/**
 * <p>
 * 互动问题的回答或评论 服务类
 * </p>
 *
 * @author ffk
 * @since 2024-06-25
 */
public interface IInteractionReplyService extends IService<InteractionReply> {
    PageDTO<ReplyVO> adminPageQueryReply(ReplyPageQuery query);
    ReplyVO adminQueryById(Long id);
    void updateAdminReplyHidden(Long id, Boolean hidden);
    void saveReply(ReplyDTO replyDTO);
    PageDTO<ReplyVO> userPageQueryReply(ReplyPageQuery replyPageQuery);
}
